[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 STRIPATX(SEXP) (STRING)

 Function
  Remove @X codes from a string.

 Syntax
  STRIPATX(sexp)

   sexp = Any string expression.

 Return Type & Value
  STRING
  Returns sexp without any @X codes that may have been present previously.

 Remarks
  This function is used to strip PCBoard @X color codes from a string or
  string expression.  This is useful when you want to log information to
  a file without the @X codes used in the screen display.

 Examples
  STRING Question, Answer
  LET Question = "What is your street address ..."
  GOSUB ask
  END
  :ask ' Sub to ask a question, get an answer, and log them to a file
  LET Answer = ""
  PRINTLN "@X0E",Question
  INPUT "",Answer
  NEWLINES 2
  FPUTLN 0,"Q: ",STRIPATX(Question)
  FPUTLN 0,"A: ",Answer
  RETURN

See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson